/*
 * Copyright (c) 2024 Black Sesame Technologies
 *
 * Licensed under the Apache License, Version 2.0 (the "License");
 * you may not use this file except in compliance with the License.
 * You may obtain a copy of the License at
 *
 * http://www.apache.org/licenses/LICENSE-2.0
 *
 * Unless required by applicable law or agreed to in writing, software
 * distributed under the License is distributed on an "AS IS" BASIS,
 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
 * See the License for the specific language governing permissions and
 * limitations under the License.
 */

#include "dal/allocator.h"
#include "dal/client.h"

dal_client_t* dal_domain_participant_create_client(dal_domain_participant_t* participant,
                                                   const char* service_name,
                                                   const char* request_writer_type_name,
                                                   const char* response_reader_type_name,
                                                   dal_datawriter_qos_t* request_writer_qos,
                                                   dal_datareader_qos_t* response_reader_qos)
{
    return nullptr;
}

dal_client_t*
dal_domain_participant_create_client_with_profile(dal_domain_participant_t* participant,
                                                  const char* service_name,
                                                  const char* request_writer_type_name,
                                                  const char* response_reader_type_name,
                                                  dal_datawriter_qos_t* request_writer_qos,
                                                  dal_datareader_qos_t* response_reader_qos,
                                                  const char* request_writer_profile_name,
                                                  const char* response_reader_profile_name)
{
    return nullptr;
}

dal_ret_t dal_domain_participant_delete_client(dal_domain_participant_t* participant,
                                               dal_client_t* client)
{
    return DAL_RETCODE_UNSUPPORTED;
}

dal_ret_t dal_client_send_request(dal_client_t* service, void* request)
{
    return DAL_RETCODE_UNSUPPORTED;
}

dal_ret_t dal_client_take_response(dal_client_t* service,
                                   dal_service_info_t* request_header,
                                   void* response,
                                   bool* taken)
{
    return DAL_RETCODE_UNSUPPORTED;
}

dal_ret_t dal_client_check_server_is_available(dal_client_t* client, bool* available);
{
    return DAL_RETCODE_UNSUPPORTED;
}